package models

import (
	"github.com/goravel/framework/database/orm"
)

type Parking struct {
	orm.Model
	ParkingType   string         `gorm:"column:parking_type" form:"parking_type" json:"parking_type"`
	No            string         `gorm:"column:no" form:"no" json:"no"`
	State         string         `gorm:"column:state" form:"state" json:"state"`
	ParkingStates []ParkingState `gorm:"foreignKey:parking_id;references:id" form:"parking_states" json:"parking_states"`
	orm.SoftDeletes
}
